package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.IndexDailybasicBean;

/**
* 描述：目前只提供上证综指，深证成指，上证50，中证500，中小板指，创业板指的每日指标数据
* @author: codesmith
**/
@Data
@TableName("index_dailybasic")
public class IndexDailybasicEntity implements IndexDailybasicBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`total_mv`") protected Double totalMv;

    @TableField("`float_mv`") protected Double floatMv;

    @TableField("`total_share`") protected Double totalShare;

    @TableField("`float_share`") protected Double floatShare;

    @TableField("`free_share`") protected Double freeShare;

    @TableField("`turnover_rate`") protected Double turnoverRate;

    @TableField("`turnover_rate_f`") protected Double turnoverRateF;

    @TableField("`pe`") protected Double pe;

    @TableField("`pe_ttm`") protected Double peTtm;

    @TableField("`pb`") protected Double pb;
}